﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ADUSWebApp.Models.LoginModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    登陆
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <header>
    <link href="../../Content/Page.css" rel="stylesheet" type="text/css" />
</header>
    <div class="login">
        <div class="login_header">
            <h2>
                欢迎登陆</h2>
        </div>
        <%--        <p>--%>
        <%--   错误   请输入用户名和密码，请点击<a href="Enroll.aspx">这里</a>注册如果你没有账号--%>
        <%--            请输入用户名和密码，请点击<%: Html.ActionLink("这里", "Enroll")%>注册如果你没有账号--%>
        <%--        </p>--%>
        <% using (Html.BeginForm())
           { %>
        <%: Html.ValidationSummary(true, "Sorry, 登陆失败.") %>
        <%--<div>
        <fieldset>
            <legend>用户信息</legend>
            <div class="editor-label">
                <%: Html.LabelFor(u => u.UserName)%>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(u => u.UserName)%>
                <%: Html.ValidationMessageFor(u => u.UserName)%>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(u => u.UserPwd)%>
            </div>
            <div class="editor-field">
                <%: Html.PasswordFor(u => u.UserPwd)%>
                <%: Html.ValidationMessageFor(u => u.UserPwd)%>
            </div>
            <div class="editor-label">
                <%:Html.LabelFor(u => u.Remember)%>
            </div>
            <div>
                <%:Html.CheckBoxFor(u => u.Remember)%>
            </div>
        </fieldset>
    </div>--%>
        <%--    <p>
        <input type="submit" value="登陆" />
    </p>--%>
        <div class="login_1">
            <ul>
                <li>
                    <input name="" type="text" class="input1" id="txtusername" value="用户名" /></li>
                <li>
                    <input name="" type="text" class="input1" id="txtshowpassword" value="密码" />
                    <input name="" type="password" class="input1" id="txtpassword" value="密码" style="display: none" />
                </li>
                <li>
                    <input name="" type="button" class="btnlogin" value="登陆" id="btnlogin" />
                    <input name="" type="button" class="btnregister" value="注册" id="Button1" />
                    <input name="" type="button" class="btngetpassword" value="找回密码" id="Button2" />
                </li>
            </ul>
        </div>
        <% } %>
    </div>
</asp:Content>
